package com.zhixing.reward.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CouponCategory {
    NEWCOMER_COUPON(0, "新人券"),
    HOMEPAGE_COUPON(1, "首页券");

    @JsonValue
    @EnumValue
    private final int value;
    private final String desc;
}
